package com.course.java.alipay.config;

import lombok.Data;
import org.springframework.stereotype.Component;

@Component
@Data
public class AlipayConfig {
    //1
    // 商户ID
    private String appid = "2021000118605308";
    // 私钥
    private String rsa_private_key = "MIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQDBVo0+3Sfs8QrvCe2GrgGyZ1MIEZ/74f69t9wLIr4lYA1zzwHnnf5JBOZ31escVbyxxFuu/6A56pt/1xIzQLhAlaJHoaTexBSiyJTPcIkV7aOfyq/3Gr/7pjDhckVaYC2i57/GlOkZlM1Wi4CYx0PSlIKeJTc1hvLMJfrFxSaljSiz2TUmhlKv2F2FgJkmdNqv75E1L+R84l8JaFKsqiX5rcgqLll62no3y0QqeA9ctJ2dB5SVjlNQqvTkjdkXMCmepyZfFNUOqGmQEJJzUkVRQw5DzeGMWwJrxOXN6yEt4A7UJv6KogAp1zO77h+ySfHexOLGtqyU4WPGutKI+JrvAgMBAAECggEBAIyWi48y8l1xyimYZoiQ79rzF4W+iz92Tu9WS0Qtt2cmOaIE3bW3RbmDPrPVcmngTp5V0vWmHLUAzKJhmnJ6lYEhTigYevMiUn8srElL4+N2Mo13rg1Z/lDXwKOvnI7jcUwMiX+1uOtJMSfFuXVfMQpnw7OMDGF4CAY7d+doPXoTr/uwemvRnO6oebQ8W0W9955MMFjM93evoAItVIQx/Qo07RhMxDfRVFnrzTVS1uuig5aGkW5PQipQWSOvY1tc9WkVcEFdW4BGty/1Imnd47mtJxVfBS/gVW6RxEyjOO9AoaF3t+W6dY1BYIvjeS6G2wft1XPk/vXtc3deppxyzUECgYEA4KVqM56t7IHoIuad/NTaWLXeCBTBsoS6g4/xBxYD8YBhyD3nky1X/8ZwlxydG/gRXfTpnAMCPxUDkt0Mz+HwmxMH3VqR7nCSoaeQHYtW5wKZ9LCceFUR8P3rOE8WXgeCQwUsimwZytx5JbEIalTkHhkaUwLaLYT34SCEqJL25gUCgYEA3FKAw8DD2mym/4xUoADY9s1Pui1LV2ASwicZDxJsnMAxyfYxkFhPOuimqOwps1N7rFWCGicFWdfwa9lNr7hRux7hi4F+k8ZtJreozBBrX45NIUv+g+i9tzsv/5XpOzUvKfRm6g4wZLRtJpiFKP+2e3c7nXb3bRVCod2uM/UYu2MCgYEAwNRccAjSJERyPZsVnBQdhK4/81HV3mXeL9Ybv8hfBCr+REMXB5eRhOUSejO+jGaIic0Txa4zfHCOS79hIwQ/Yu2X/6KhxzlsNETACQw1QUBTZN1Awm3LY8Ch6wjAG2B4qQzE6eDW1vIfL4Jhxdwun8NOfFjjbNVJbT5bgNP+CP0CgYEA1gaPb5niqFzEHZuE2an5Gkd4G7PEbKy3jEPO5AVR3TQXKcove7lNvjwjKhXArKN8kHzAVgdx+0T6GMqP3ROA0fW9xHeXLpajkej34MRSihECfEYGiL2fDlBA4FgQqaOQnYD+OIBwImPjZIrlUF6YNngtQVpAIYd1oyhmAbMmw2ECgYBe8Cqbr+lDYDWLmzrXY3U2HCHsti0E0XzYZ4dTH3naNyQog3hEkUAQ/XTZeopbSW0TYLemRQGJ2rBML2viNXpl2ynb3MnUqtJAp/BoC0WZhIxUOxdHB2F8Pc30i1QlYYEk7I27XvXze5wNYBHyUhT7gsV1O0vnamd4l8j9f21n0g==\n";
    // 异步回调地址
    private String notify_url;//"http://6qkdzq.natappfree.cc/pay/fallback";
    // 同步回调地址
    private String return_url="http://zvkgrj.natappfree.cc/return.html";
    // 请求网关地址
    private String gateway_url="openapi.alipaydev.com";
    // 编码
    private String charset = "UTF-8";
    // 返回格式
    private String format = "json";
    // 支付宝公钥
    private String alipay_public_key = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAj4C8tZPZ2TBOhFdLfEZypj56lGzkU+X28nwg3XtskxfmWTrvarNAMxDTKv3FyqmToGiOomP9sllmpG7h9xZ5/LsZJgkv9FfpmG7v/6ZVwkLe66w6b3UVjX3dBbJv34cyoy7dhc2SiGMqkOlLppopQBIJHE3AZZhtTovQ3uL5uehzZOUiXzzl0ah+RQw5AexReK5eVgzeon48dNcfvChtPkhULYBBKAmJNGI/fbvv8kKNiwwcpLE55CXZ+jBB+IS2cgzOTagURTBDEQciO3JsiCg1vy3CYgPwrDlmOn9IAMSULDiQZ+foefpXbxm20AbdSvS9u8ehcJ3myjcx4mHOTwIDAQAB\n";
    // RSA2
    private String signtype = "RSA2";
}
